<!DOCTYPE html>
<html>
{include file="head.html"}

<body>
<div class="page">
{include file="header.html"}
<div class="main-body">
<div class="box960">
<div class="row">
<div class="col-5-1">{include file="[c]/sidebar.html"}</div>
<div class="col-5-4">
{include file='hello/nav.html'}
 <table class='table table-bordered' width='100%'>
  <tr>
   <td>id</td>
   <td>主题</td>
   <td>内容</td>
   <td>添加时间</td>
   <td>状态</td>
<td>操作</td>
  </tr>
 {foreach item=c from=$data}
<tr>
   <td>{$c.id}</td>
   <td>{$c.title}</td>
   <td>{$c.content}</td>
   <td>{$c.dateline|date:Y-m-d}</td>
   <td>{$c.bstatus}</td>
<td><a href="/module.php?m=hello&a=add&id={$c.id}">编辑</a> <a href="/module.php?m=hello&a=show&id={$c.id}">查看</a> <a href="javascript:;" class="delete" url="/module.php?m=hello&a=delete&id={$c.id}">删除</a></td>
  </tr>
   {/foreach}
 </table>
<div>{$pagelist}</div>
</div>
</div>
</div>

</div>
{include file="footer.html"}
</div>
</body>
</html>